import axios from '@/utils/request';

/**
 * 获取日志查询分页列表
 */
export async function QueryLogPageList(params) {
  const res = await axios.post('/Log/QueryLogPageList',params);
  if (res.data.code === 200) {
    return res.data.data;
  }
  return Promise.reject(new Error(res.data.msg));
}


/**
 * 重置数据
 */
export async function SetResetdata() {
  const res = await axios.post('/Log/SetResetdata');
  if (res.data.code === 200) {
    return res.data.msg;
  }
  return Promise.reject(new Error(res.data.msg));
}

